package com.moss.cloud.plugins.api.model.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

@Data
public class ModelDesignVO implements Serializable {
    /**模型ID*/
    private Long id;
    /**模型名称*/
    private String modelName;
    /**模型注释*/
    @NotBlank(message = "模型注释不能为空")
    private String modelComment;
    /**数据源ID*/
    private Long dataSourceId;
    /**模型字段*/
    private List<ModelFieldVO> modelFields;
}
